﻿using System;
using System.Web.Mvc;
using BrettM.Web.Hosting;
using Microsoft.Practices.Unity;

namespace BrettM.BootStrappers
{
    public class AreasBootStrapper : IBootStrapper 
    {
        public void OnStart(IUnityContainer container, PropertyBag bag)
        {
            // Register areas
            AreaRegistration.RegisterAllAreas();
        }

        public void OnStop(IUnityContainer container, PropertyBag bag)
        {
        }

        public void Dispose()
        {            
        }
    }
}
